package com.frank.loadinglibrary.special.dot.circle;

import ohos.agp.render.Canvas;
import ohos.agp.render.Paint;
import ohos.agp.utils.Color;

/**
 * @author SUQI
 * @date 2021/5/25
 * @description
 **/
public class BaseCircle {
    public final static Color DEFAULT_COLOR = Color.WHITE;

    protected float x;
    protected float y;
    protected float radius;
    protected float degree;
    protected Color color;

    public BaseCircle() {

    }

    public BaseCircle(float x, float y, float r) {
        this(x, y, r, 0);
    }

    public BaseCircle(float x, float y, float radius, float degree) {
        this(x, y, radius, degree, DEFAULT_COLOR);
    }

    public BaseCircle(float x, float y, float radius, float degree, Color color) {
        this.x = x;
        this.y = y;
        this.radius = radius;
        this.degree = degree;
        this.color = color;
    }

    public void draw(Canvas canvas, Paint paint, float cx, float cy) {

    }

    public void draw(Canvas canvas, Paint paint) {

    }

    public void bigger(float size) {

    }

    public void smaller(float size) {

    }
    public float getDegree() {
        return degree;
    }

    public float getRadius() {
        return radius;
    }

    public float getX() {
        return x;
    }

    public float getY() {
        return y;
    }
}
